package com.demo.netty;

public class MessageType {
    public final static int ONE = 1;
    public final static int TWO = 2;
    public final static int THREE = 3;

    int type;
    String context;

    public MessageType(int i, String reconnect) {
        type = i;
        context = reconnect;
    }

    public MessageType() {
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }
}
